package com.hisoft.entity;

import java.util.ArrayList;
import java.util.List;
/**
 * testcase对象
 * @author JohnTest
 *
 */
public class TestCase {

	private List<ABaseTag> operateList = new ArrayList<ABaseTag>();
	private long time = 0L;
	private String fileName = "";
	private String testCaseName = "";
	private String testCaseVersion = "";
	private String description = "";
	private String createdAuthor = "";
	private String createdDate = "";
	private String lastUpdatedAuthor = "";
	private String lastUpdatedDate = "";
	private String recordInfoAccount = "";
	private String recordInfoIndex = "";

	public long getTime() {
		return time;
	}

	public void setTime(long time) {
		this.time = time;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getTestCaseVersion() {
		return testCaseVersion;
	}

	public void setTestCaseVersion(String testCaseVersion) {
		this.testCaseVersion = testCaseVersion;
	}

	public String getTestCaseName() {
		return testCaseName;
	}

	public void setTestCaseName(String testCaseName) {
		this.testCaseName = testCaseName;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getCreatedAuthor() {
		return createdAuthor;
	}

	public void setCreatedAuthor(String createdAuthor) {
		this.createdAuthor = createdAuthor;
	}

	public String getCreatedDate() {
		return createdDate;
	}

	public void setCreatedDate(String createdDate) {
		this.createdDate = createdDate;
	}

	public String getLastUpdatedAuthor() {
		return lastUpdatedAuthor;
	}

	public void setLastUpdatedAuthor(String lastUpdatedAuthor) {
		this.lastUpdatedAuthor = lastUpdatedAuthor;
	}

	public String getLastUpdatedDate() {
		return lastUpdatedDate;
	}

	public void setLastUpdatedDate(String lastUpdatedDate) {
		this.lastUpdatedDate = lastUpdatedDate;
	}

	public String getRecordInfoAccount() {
		return recordInfoAccount;
	}

	public void setRecordInfoAccount(String recordInfoAccount) {
		this.recordInfoAccount = recordInfoAccount;
	}

	public String getRecordInfoIndex() {
		return recordInfoIndex;
	}

	public void setRecordInfoIndex(String recordInfoIndex) {
		this.recordInfoIndex = recordInfoIndex;
	}

	public List<ABaseTag> getOperateList() {
		return operateList;
	}

	public void setOperateList(List<ABaseTag> operateList) {
		this.operateList = operateList;
	}

	public boolean addOperate(ABaseTag i) {
		return operateList.add(i);
	}

	public void excute() {
		for (ABaseTag i : operateList) {
			i.excute();
		}
	}
}
